package com.bootdo.output.dao;

import com.bootdo.output.domain.OutStorageDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 出库订单表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-26 16:50:51
 */
@Mapper
public interface OutStorageDao {

	OutStorageDO get(Long outstorageId);
	
	List<OutStorageDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(OutStorageDO outStorage);
	
	int update(OutStorageDO outStorage);
	
	int remove(Long outstorage_id);
	
	int batchRemove(Long[] outstorageIds);
	
	int batchUpdate(Long[] outstorageIds);
	/**
	 * 根据状态查询
	 * @return
	 */
	List<OutStorageDO> listStatus();
	  
}
